package com.nit.lab.service.system;

import com.alibaba.fastjson.JSONObject;
import com.nit.lab.dto.system.AccountDTO;

public interface AccountService {

    /**
     * @Description: 不同类型账号的登录认证
     * @Author: SN
     * @Date: 2020/02/31 11:02
     */
    JSONObject loginCheck(String loginName, String loginPwd, Integer loginType) throws Exception;

    /**
     * @Description: 获取不同类型账号的用户信息
     * @Author: SN
     * @Date: 2020/02/31 11:02
     */
    AccountDTO getInfo(String token) throws Exception;
}
